
<style>
    .container{

        width:100%;
        height:100%;
        background: white;
        overflow-x:hidden;
        overflow-y:hidden;
    }
    .row{
        width:100%;
        height:460px;
        background-color:rgba(22, 155, 213, 1);
        margin-top: 110px; 
    }

    .col-md-8{

        float:right;
        margin-top: 55px;
        margin-right: 160px;
    }
    
    .panel{

        width:460px;
        height:380px;
        background-color: white;
        border-radius:25px;
    }
    
    .panel-heading{
            width:100%;
            height:65px;
            padding-top: 50px;
            margin-left: 42%;
            font-size: 26px;
    }

    .panel-body{

            width:100%;
            height:65px;
            margin-left: 28%;

    }

    .user{
        

        margin-top: 35px;
    }
    .user input{

        height:28px;
    }
</style>
<div class="container">
    <div class="row">
        <div class="col-md-8 col-md-offset-2">
            <div class="panel panel-default">
                <div class="panel-heading">LOGO</div>

                <div class="panel-body">
                    <form class="form-horizontal" method="POST" action="{{ route('login') }}">
                        {{ csrf_field() }}

                        <div class="form-group{{ $errors->has('name') ? ' has-error' : '' }} user">
                            
                            <div class="col-md-6">
                                <label for="name" class="col-md-4 control-label">账户名</label>
                                <input id="name" type="text" class="form-control" name="name" value="{{ old('name') }}" required autofocus>
                                <br>
                                <span style='color:red;font-size: 12px;'>&nbsp;&nbsp;注：账户号只允许英文字母和数字，最多16个字符</span>

                                @if ($errors->has('name'))
                                    <span class="help-block">
                                        <strong>{{ $errors->first('name') }}</strong>
                                    </span>
                                @endif
                            </div>
                        </div>

                        <div class="form-group{{ $errors->has('password') ? ' has-error' : '' }} user">
                            
                            <div class="col-md-6">
                               <label for="password" class="col-md-4 control-label">密码&nbsp;&nbsp;&nbsp;</label> 
                                <input id="password" type="password" class="form-control" name="password" required>
                                <br>
                                <span style='color:red;font-size: 12px;'>&nbsp;&nbsp;注：密码只允许英文字母和数字，最多16个字符</span>

                                @if ($errors->has('password'))
                                    <span class="help-block">
                                        <strong>{{ $errors->first('password') }}</strong>
                                    </span>
                                @endif
                            </div>
                        </div>
                        <div class="form-group user">
                            <div class="btn btn-info">
                                <button type="submit" style='color:white;background-color:rgba(22, 155, 213, 1);border-color:#46b8da;border:1px solid transparent;font-size: 18px;margin-left: 100px;'>
                                    登录
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
